#ifndef SETTINGWIDGET_H
#define SETTINGWIDGET_H

#include "config.h"

namespace Ui {
class SettingWidget;
}

class SettingWidget : public QWidget
{
    Q_OBJECT

public:
    explicit SettingWidget(QWidget *parent = nullptr);
    ~SettingWidget();
    int map_path;
    int player_path;
private slots:
    void on_map_button_1_toggled(bool checked);

    void on_map_button_2_toggled(bool checked);

    void on_map_button_3_toggled(bool checked);

    void on_playerplane_button_1_toggled(bool checked);

    void on_playerplane_button_2_toggled(bool checked);

    void on_playerplane_button_3_toggled(bool checked);

    void on_pushButton_clicked();

private:
    Ui::SettingWidget *ui;
signals:
    void setting_ok(int map_path,int player_path);
};

#endif // SETTINGWIDGET_H
